package com.distributeredis.redis_springboot.springeasyexcel.downloadandupload;

public class Test {
    // Excel下载
    /**
     * response.setContentType("application/vnd.ms-excel")
     * response.setCharacterEncoding("utf-8")
     * String fileName = "用户信息.xlsx"
     * // 中文名称编码设置
     * fileName = URLEncoder.encode(fileName,"utf-8")
     * response.setHeader("Content-disposition","attachment;filename="+fileName)
     * EasyExcel.write(response.getOutputStream(),User.class).sheet("user").doWrite(userLists)
     */

    // Excel上次

}
